﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SpriteMaker
{
    public partial class TextInput : Form
    {
        public String Value = "";
        public TextInput(String title, String desc)
        {
            InitializeComponent();
            this.Text = title;
            labelDesc.Text = desc;
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            Value = textBoxInput.Text;
            this.Close();
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
